# Pixel

Inspired by [TEXT-IMAGE](https://www.text-image.com)!

I wrote ```pixel --invert examples/crab-source.png```
![Image](examples/crab.png)

## Usage

If write ```pixel --help```

```bash
USAGE:
    pixel [OPTIONS] <FILE_NAME>

ARGS:
    <FILE_NAME>    Name of target file that will be text-arted

OPTIONS:
    -c, --contrast
            Convert extra-contrasted image

    -d, --duration <DURATION>
            Milliseconds of pause between gif frames. Only in 'gif' mode [default: 100]

    -h, --help
            Print help information

    -i, --invert
            Convert inverted image

    -m, --convert-mode <CONVERT_MODE>
            Working mode. 'image' provide converting only 1 frame. 'gif' provide frame by frame
            convertation [default: image]

    -s, --scale <SCALE>
            Image scale of symbols [default: 200]

    -V, --version
            Print version information
```
## Building from sources

```bash
git clone https://notabug.org/greatesque/pixel.git

cd pixel/

cargo build --release

./target/release/pixel --version 
```
